package org.example.admin.service;

import org.apache.ibatis.annotations.Param;
import org.example.admin.entity.Comment;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CommentService {

    List<Comment> selectCommentBystoreId(int storeId);

    int deleteComment(int commentid);

    int updateContent(String conment, int commentid);

    int insertComment(String content, int storeid, int userid);

    Comment selectCommentById(int commentid);

    List<Comment> selectCommentAll();
}
